<template>

  <div id="app">
    <router-view/>
    <div id="nav">
<!--      {{ $route.path }}-->
      <Footer
          v-if="
      $route.path=='/'||
      $route.path.match('/home')||
      $route.path=='/video'||
      $route.path=='/minivideo'
      "
      ></Footer>
    </div>
  </div>
</template>

<script>
//引入Footer Header的组件
import Footer from "./components/Footer.vue";

export default {
  name: "App",
  components: {
    Footer,
  },
};
</script>

<style>
* {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

ul, li {
  list-style: none;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#nav a.router-link-active {
  color: #f03d37;
}

</style>
